TwoFA\Onprem\Mo2f_Main_Handler D

Total Complexity 151
Dependencies 12
Dependents 3
Total lines 735
Lines of code 467
Logical lines of code 351
Comment lines 229
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
miniorange_pass2login_redirect()
C
37 25 67
miniorange_initiate_2nd_factor()
A
40 14 55
mo_two_factor_ajax()
A
48 11 33
mo2f_check_username_password()
S
48 7 30
mo2f_validate_otp_for_configuration()
S
55 7 17
mo2fa_pass2login()
S
52 6 24
mo2f_send_otp_for_configuration()
S
54 6 18
mo2f_check_if_twofa_is_enabled()
S
59 6 14
save_inline_2fa_method()
S
53 5 21
mo2f_process_validation_success()
S
59 5 13
mo2f_email_verification_success()
S
59 5 13
mo2f_validate_user_for_login()
S
63 5 9
mo2f_start_setup_2fa_dashboard()
S
61 4 11
mo2f_skip_2fa_setup()
S
60 4 11
mo2f_remove_miniorange_auth_entries()
S
69 4 6
mo2f_select_mfa_method()
S
63 4 9
mo2f_twofa_validation_screen()
S
64 4 8
mo2f_download_backup_codes_inline()
S
66 4 7
mo2f_finish_inline_and_login()
S
66 3 7
mo2f_resend_otp_login()
S
62 3 10
mo2f_start_inline_2fa()
S
60 2 13
mo2f_back_to_mfa_screen()
S
62 2 10
miniorange2f_back_to_inline_registration()
S
65 2 8
mo2f_skiptwofactor_wizard()
S
71 2 5
mo2f_show_error_on_wp_login_form()
S
69 2 7
mo2f_set_kba()
S
73 1 5
mo2f_send_reconfig_link()
S
76 1 4
mo2f_send_backup_codes()
S
76 1 4
mo2f_select_method_for_login()
S
72 1 5
mo2f_use_backup_codes()
S
76 1 4
mo2f_backup_code_validation_success()
S
76 1 4
mo2f_email_verification_failed()
S
76 1 4
mo2f_validate_backup_codes()
S
76 1 4
__construct()
S
67 1 7